SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}Freising{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}' OR prCity = 'Freising' OR prZip = 'Freising' OR prStreet LIKE '{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}Freising{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}' OR prCountry = 'Freising') AND (prLocation LIKE '{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}Germany{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}Germany{167e6570e2333f1592f98eb460bd999ac2e33e39d1bb38b9f760728cb62881ef}' OR prCountry = 'Germany')